Implementing JNI in Java for Jalapeño

نویسندگان

  • Ton Anh Ngo
  • Stephen E. Smith
چکیده

Developed at the IBM T. J. Watson Research Center, Jalape~ no [1] is a Java virtual machine (JVM) written in Java that targets high-performance servers. The strategic decision early in the project to implement Jalape~ no in Java [2] leads to many important advantages, but also several implications; therefore when the Java Native Interface (JNI) was implemented for Jalape~ no, we were heavily in uenced by this philosophy. In this short paper, we present a JNI implementation that is written in Java. We discuss the advantages and implications that arise from a Java implementation.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Java Native Interface idioms for C++ class hierarchies

SUMMARY The Java™ Native Interface (JNI) provides a set of mechanisms for implementing Java methods in C or C++. JNI is useful for reusing C and C++ code repositories within Java frameworks. JNI is also useful for real-time systems, where compiled C/C++ code executes performance-critical tasks, while Java code executes system control and feature tasks. Available JNI literature concentrates on c...

متن کامل

JNI – C++ integration made easy

The Java Native Interface (JNI) [1] provides interoperation between Java code running on a Java Virtual Machine and code written in other programming languages (e.g., C++ or assembly). The JNI is useful when existing libraries need to be integrated into Java code, or when portions of the code are implemented in other languages for improved performance. The Java Native Interface is extremely fle...

متن کامل

A Reasonable C++ Wrappered Java Native Interface

A reasonable C++ Java Native Interface (JNI) technique termed C++ Wrappered JNI (C++WJ) is presented. The technique simplifies current error-prone JNI development by wrappering JNI calls. Provided development is done with the aid of a C++ compiler, C++WJ offers type checking and behind the scenes caching. A tool (jH) patterned on javah automates the creation of C++WJ classes. The paper presents...

متن کامل

Aspects of Portability and Distributed Execution for Jni-wrapped Code

Much of the portability characteristics associated with Java-based programs is attributable to the bytecode representation of Java executables. This aspect of portability and its associated beneets to high-performance computing has been a subject of strong research and debate. In addition, there have been several very successful eeorts aimed at extending Java's usefulness as a high-performance ...

متن کامل

The Jalapeño virtual

Jalapeño is a virtual machine for Java servers written in the Java language. To be able to address the requirements of servers (performance and scalability in particular), Jalapeño was designed “from scratch” to be as self-sufficient as possible. Jalapeño’s unique object model and memory layout allows a hardware null-pointer check as well as fast access to array elements, fields, and methods. R...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2001